﻿using Adnc.Application.Shared.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace WYT.Ord.Application.Contracts.Dtos.ShopCart
{
    /// <summary>
    /// 赠品
    /// </summary>
    public class ProductGiftDto : IDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 赠品ID
        /// </summary>
        public long GoodsId { get; set; }

        /// <summary>
        /// 赠品名称
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 赠品规格ID
        /// </summary>
        public long SizeId { get; set; }

        /// <summary>
        /// 赠品规格名称
        /// </summary>
        public string SizeName { get; set; }

        /// <summary>
        /// 单次购买量
        /// </summary>
        public int BuyCount { get; set; }

        /// <summary>
        /// 赠送数量
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// 剩余数量
        /// </summary>
        public int RemainderCount { get; set; }

        /// <summary>
        /// 是否可以叠加
        /// </summary>
        public bool IsSuperposition { get; set; }
    }
}
